package com.ruoyi.workflow.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流程定义对象 bus_bpmn_info
 *
 * @author lhl
 * @date 2022-11-14
 */
@TableName("bus_bpmn_info")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class BpmnInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 流程名称-数据字典名称 */
    private String bpmnLabel;

    /** 流程类型-数据字典类型 */

    private String bpmnType;

    /** 流程定义生成的key */

    private String processDefinitionKey;
    /**部署id*/
     private String deploymentId;
    /** 部署时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deployTime;
     /**文件名称*/
    @TableField(exist = false)
    private String FileName;
    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String info;


}
